MifareBlockData

data class MifareBlockData(val blockIndex: Int, val blockContent: String? = null) : Parcelable

The block data that will be written to the specified block. The block data will contain the keyA and keyB and if keyB is not used it can be filled with data instead.

Constructors

Link copied to clipboard
constructor(blockIndex: Int, blockContent: String? = null)

Properties

Link copied to clipboard
val blockContent: String? = null

the 16 byte data to be written in this block. This should be a hexadecimal string. The bock data structure is as follows : Regular data block : data (16 bytes) Site key block (4th block of each sector) : keyA (6bytes) | access conditions (4bytes) | keyB or extra data (6bytes)

Link copied to clipboard

th block index of this block data

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)